package com.jy.rhin.infra.exception;

/**
 * @Description:
 * @Author: lww
 * @Date: 2022/7/6 17:00
 */
public class NotifyException extends RuntimeException {

    public Long getMessageId() {
        return messageId;
    }

    /**
     * 异常信息
     */
    private String message;

    /**
     * 消息记录id
     */
    private Long messageId;

    public NotifyException() {
        super();
    }

    public NotifyException(Long messageId, Throwable cause) {
        super(cause);
        this.messageId = messageId;
        this.message = cause.getMessage();
    }

}
